package com.daoliuhe.scaffold.mapper;

import com.daoliuhe.scaffold.model.ListName;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ListNameMapper {
    int deleteByPrimaryKey(String id);

    int insert(ListName record);

    int insertSelective(ListName record);

    ListName selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ListName record);

    int updateByPrimaryKey(ListName record);
    
    List<ListName> getPageData(ListName record);
    
    int getPageCount(ListName record);
    
    ListName selectByApiName(String apiName);
    
}